import request from './request'
//查询维修单理数据
export function getRepairList(data) {
  return request({
    url: '/repair-order',
    method: 'GET',
    params: data,
  })
}
//操作维修单数据 /user-data-admin/repair-order/(repairOrderNo)
export function operateOrder(repairOrderNo, data) {
  return request({
    url: `/repair-order/${repairOrderNo}`,
    method: 'PUT',
    params: data,
  })
}
